< previous page page_58 next page >

Page 58
8. Set the Caption property to &Save.
9. Set the Default property to True.
10. The resultant form should look like the one shown in Figure 3.5.
8160-0058a.gif
Figure 3.5
The Employee Information form with two command buttons.
analysis.gifCommand buttons are used to let the user commit changes, undo changes, or any other type of action on a form-level basis. You can set properties to make the command button respond to the Enter key or the Escape key as well as the mouse.
Examples Filename: Employee3.frm

9f31265bb40b592b1929e18a47ab28e5.gif
TIP
Now would be a good time to save the project. Its always a good idea to save your work periodically. You never know when the power may go out.
Frames
The frame control is designed to allow you to insert a group of controls into a box and add a caption to describe the purpose of these controls. In the next section, youll learn about check boxes and option buttons, which typically are used in a group. Any type of control that belongs in a group will fit into a frame control very well.

 
< previous page page_58 next page >

If you like this book, buy it!